package com.software.lease.web.admin.mapper;

import com.software.lease.model.entity.AttrValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author liubo
* @description 针对表【attr_value(房间基本属性值表)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.software.lease.model.AttrValue
*/
public interface AttrValueMapper extends BaseMapper<AttrValue> {

    @Select("select name, attr_key_id from attr_value where attr_key_id = #{name}")
    List<AttrValue> listByKey(String name);
}




